import you_get
import sys

def download(path,url):
    # you-set->cmd里的命令指令 -o命令行参数
    sys.argv=['you-set','-o',path,url]
    you_get.main()






#程序启动路口
if __name__=='__main__':
    path="D:\B站"
    #视频的播放地址
    url='https://www.bilibili.com/bangumi/play/ss32459/?from=search&seid=13485776466486745843'
    #download(path,url)
import requests
a=['https://game.gtimg.cn/images/lol/act/img/skin/big875000.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875001.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875002.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875003.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875004.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875005.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875006.jpg',
   'https://game.gtimg.cn/images/lol/act/img/skin/big875007.jpg',
   'http://www.kongzhi.net/cases/2015-08-01/caseview101151.html',
    'http://www.kongzhi.net/cases/2015-08-01/caseview101156.html',
    'http://www.kongzhi.net/cases/2015-08-01/caseview101151.html',
   ]
for i in a:
    response=requests.get(i)
    # print(response.status_code)

    if response.status_code!=200:

       pass
response=requests.get('http://www.kongzhi.net/cases/2015-08-01/caseview101151.html')
response.encoding=response.apparent_encoding
print(response.text)

